package com.imooc.entity;

import com.lly835.bestpay.enums.BestPayTypeEnum;
import javax.validation.constraints.DecimalMin;

/**
 * @Author huqian
 * @Date 2021/5/17 22:46
 * @Version 1.0
 */
public class PayInfo {
 private String orderId;
 @DecimalMin("0.01")
 private double orderAmount;
 private BestPayTypeEnum bestPayTypeEnum;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public BestPayTypeEnum getBestPayTypeEnum() {
        return bestPayTypeEnum;
    }

    public void setBestPayTypeEnum(BestPayTypeEnum bestPayTypeEnum) {
        this.bestPayTypeEnum = bestPayTypeEnum;
    }

    @Override
    public String toString() {
        return "PayInfo{" +
                "orderId='" + orderId + '\'' +
                ", orderAmount=" + orderAmount +
                ", bestPayTypeEnum=" + bestPayTypeEnum +
                '}';
    }

    public PayInfo() {
    }
}
